home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global md1, rantime, mp
- set rantime to the ticks
- set mp to 4
- if the name of cast the castNum of sprite 4 = "saend" then
- set the castNum of sprite 4 to the number of cast "sastart"
- set md1 to the duration of cast the number of cast "sastart" - 3
- else
- set md1 to the duration of cast (the castNum of sprite 4 + 1) - 3
- set the castNum of sprite 4 to the castNum of sprite 4 + 1
- end if
- end
-